import { Copy } from '@/utils/object'
import { id } from '@/utils/_'
export const dafaultDateCelectColumns = (list, conventionDate) => {
    let response = list.map(e => ({text: e}))
    let time = new Date()
    var year = time.getFullYear(time)
    var month = time.getMonth(time) + 1
    var date = time.getDate(time)
    var toDay = [year, month, date].join('/')
    return conventionDate.includes(toDay) ? response.map(e => {
        return {
            text: e.text,
            disabled: (e.text.split(':')[0] | 0) - 2 < new Date().getHours() 
        }
    }) : response.map(id)
}
// export const dafaultDemandList = [
//     '普通效果图-普通模型',
//     '普通效果图-异型模型',
//     '360全景图-普通模型 x1.5',
//     '360全景图-异型模型 x1.5',
// ]
export const defaultPayWayList = [
    {icon: 'icon-weixin', name: '微信支付', styles: {color: '#50B674'}},
    {icon: 'icon-zhifubao', name: '支付宝支付', styles: {color: '#5A9EF7'}},
]